package com.ymt.bpm.dao.dingtalk;

import com.ymt.bpm.model.PTenantDdMapp;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface PTenantDdMappMapper {
    int deleteByPrimaryKey(Long ddAppId);

    int insert(PTenantDdMapp record);

    int insertSelective(PTenantDdMapp record);

    PTenantDdMapp selectByPrimaryKey(Long ddAppId);

    int updateByPrimaryKeySelective(PTenantDdMapp record);

    int updateByPrimaryKey(PTenantDdMapp record);

    PTenantDdMapp selectDefaultAppByTenantId(String tenantId);

    String selectLoginNameByEmailMobile(Map<String, String> paramMap);
}